import request from '@/utils/request'

//订单总数
export function countOrder(query) {
  return request({
    url: '/tea/order/list',
    method: 'get',
    params: query
  })
}
//商品总数
export function countLeaf(query) {
  return request({
    url: '/tea/leaf/list',
    method: 'get',
    params: query
  })
}

//今日订单
export function listBuyOrder(query) {
  return request({
    url: '/tea/order/list/buy',
    method: 'get',
    params: query
  })
}


//昨日订单
export function listBuyOrder(query) {
  return request({
    url: '/tea/order/list/buy',
    method: 'get',
    params: query
  })
}

//近七天订单
export function listBuyOrder(query) {
  return request({
    url: '/tea/order/list/buy',
    method: 'get',
    params: query
  })
}

//本月订单·
export function listBuyOrder(query) {
  return request({
    url: '/tea/order/list/buy',
    method: 'get',
    params: query
  })
}
